package com.masterviame.Authc.mapper;

import com.masterviame.Authc.pojo.Role;

import java.util.List;

/**
 * Created by mastervictory on 2017/12/13.
 */
public interface RoleMapper {

    List<Role> getRoles();
    void addRole(Role role);
    void StopRole(long roleid);
    void deleteRolePermission(long roleid,long permissionid);
    void addRolePermission(long roleid,long permissionid);
    Role getRolebyid(long roleid);
    void updateRole(Role role);
}
